package com.xhwl.logistics.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xhwl.common.pojo.cent.vehicle.VehcCar;
import com.xhwl.common.query.cent.vehicle.CarQuery;
import com.xhwl.common.vo.cent.vehicle.CarPageVO;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Lu.Aaron
 * @since 2021-02-08
 */
public interface VehcCarDao extends BaseMapper<VehcCar> {
    /**
     * 车辆列表
     * @param carQuery
     * @return
     */
    List<CarPageVO> queryCarList(CarQuery carQuery);

    /**
     * 车辆数
     * @param carQuery
     * @return
     */
    Long queryCarTotal(CarQuery carQuery);
}
